<%
String Decimal = (String) request.getAttribute("Decimal");
String Hostname = (String) request.getAttribute("Hostname");
String ISP = (String) request.getAttribute("ISP");
String Organization = (String) request.getAttribute("Organization");
String Services = (String) request.getAttribute("Services");
String Type = (String) request.getAttribute("Type");
String Assignment = (String) request.getAttribute("Assignment");
String Country = (String) request.getAttribute("Country");
String Region = (String) request.getAttribute("Region");
String City = (String) request.getAttribute("City");
String Latitude = (String) request.getAttribute("Latitude");
String Longitude = (String) request.getAttribute("Longitude");
String ip = (String) request.getAttribute("ip");
String title="Lookup ip";
String description="A name indicates what we seek. An address indicates where it is. A route indicates how to get there. An IP address serves two principal functions: host or network interface identification and location addressing.";
String keyword="Lookup ip,ip,trackip";

%>

<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keyword %>"/>
	<jsp:param name="menu" value="lo"/>
	<jsp:param name="ip" value="lo"/>
</jsp:include>   

 	<div class="bd">
		<div class="l">
			<div class="rib">
				<h2>Lookup ip</h2>
			</div>
			<div class="cont">
				<p>A name indicates what we seek. An address indicates where it is. A route indicates how to get there. An IP address serves two principal functions: host or network interface identification and location addressing.</p>
				<div class="network">
	                <form action="" method="get">
						<div class="search">
							<input type="text" value="<%=ip!=null?ip:"Enter your ip" %>" name="ip" onclick="javascript:this.value=''"/>
							<button type="submit">Search</button>
						</div>
					</form>
				</div>
				
				<div id="featuredservice">
                   	<%
                   	if(ip!=null)
                   	{
                   	%>
		             <h2><%=ip %></h2>
		       		 <table cellpadding="0" cellspacing="0" width="100%" class="exp">
							<tr>
								<td>Decimal</td>
								<td><%=Decimal %></td>
							</tr>
							<tr>
								<td>Hostname</td>
								<td><%=Hostname %></td>
							</tr>
							<tr>
								<td>ISP</td>
								<td><%=ISP %></td>
							</tr>
							<tr>
								<td>Organization</td>
								<td><%=Organization %></td>
							</tr>
							<tr>
								<td>Services</td>
								<td><%=Services %></td>
							</tr>
							<tr>
								<td>Type</td>
								<td><%=Type %></td>
							</tr>
							<tr>
								<td>Assignment</td>
								<td><%=Assignment %></td>
							</tr>
							<tr>
								<td>Country</td>
								<td><%=Country %></td>
							</tr>
							<tr>
								<td>Region</td>
								<td><%=Region %></td>
							</tr>
							<tr>
								<td>City</td>
								<td><%=City %></td>
							</tr>
							<tr>
								<td>Latitude</td>
								<td><%=Latitude %></td>
							</tr>
							<tr>
								<td>Longitude</td>
								<td><%=Longitude %></td>
							</tr>	        		 
		       		 </table>   
		       		 <div id='map' ></div> 
		       		 <%
		                    	} else {
		       		 %>     
		       		 <p class="margin-bottom"><strong>Example : </strong><a href="/lookup-ip?ip=74.125.226.69" class="link" rel="nofollow">74.125.226.69</a></p>
		       		 <%
		                    	}
		       		 %>    
		                    </div>
			</div>
		</div>
		<div class="r">
			<%@ include file='/element/search.jsp'%>
			
			<div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
			<div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
		</div>
	</div>  


 <jsp:include page="layout/footer.jsp"></jsp:include>           